<?php
$this->load->view('common/head');
$this->load->view('common/header');
?>
		  <!-- Image -->    
    <img src="<?php echo ASSET_URL.'/img/slider/02.jpg'?>" alt="">
        </div> 
      </div> 
    </div> 
  </header>
  <!-- Header End -->
                      
  <!-- Content -->  
  <div class="container">
    <div class="row"> 
    
      <div class="col-md-12 col-xs-12">
      <!--form_details starts-->
      	<div class="form_details">
  			<div class="space30"></div>  
            <!--form_container starts-->
            	<div class="form_container">
                <form action="" method="post">	<h4>Name</h4>
                <?php $i = 0; foreach ($result  as $row) { ?>
            	
                    <!--row starts-->
                    	<div class="row1">
                        	
                         <?php if($result1[$i][0]->master_nomination_form_type=='textarea') {?>
                       	 	<div class="form-group col-sm-12">
                          <?php } 
						  else { ?>
                    		<div class="form-group col-sm-6">
                            <?php } ?>
                        
                        	<label for="name2"><?php  echo $row->event_nomination_form_label; ?> </label>
                            
                            <?php if($result1[$i][0]->master_nomination_form_type=='input') {?>
                            <input class="form-control white" type="<?php echo $result1[$i][0]->master_nomination_form_extra;?>" value=""><?php } ?>
                            <?php if($result1[$i][0]->master_nomination_form_type=='textarea') {?>
                            <textarea  class="form-control white" ></textarea><br> <?php } ?>
                        	<?php if($result1[$i][0]->master_nomination_form_type=='dropdown') {?>
                            <select class="form-control white">
								<option>Select Country</option>
							</select>
                            <?php }?>
                            <div class="error" id="err-name"></div>
                        </div>
                            
                     <?php $i++;}   ?>
               
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <!--raw closed-->
                </div>
            <!--form_container starts-->
            <div class="space30"></div>
            
      <!--form_details ends-->
      </div>
      <div class="clearfix"></div>
      <div class="space90"></div>  
    </div> 
  </div> 
  
  <div class="space30"></div>  
  
  <!-- Content End -->
           
  <!-- Footer -->  
     <?php
	 $this->load->view('common/footer');
	 ?>
  <!-- Footer End --> 
  <!-- Modal -->
<div class="modal fade" id="myModallogin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <!--<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>-->
        <h4 class="modal-title text-center" id="myModalLabel">Please Login / Register to process further</h4>
      </div>
      
      <div class="modal-body text-center">
        <a href="<?php echo BASE_URL.'\login'; ?>" class="btn btn-primary" >Login</a> &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="<?php echo BASE_URL.'\register'; ?>" class="btn btn-primary">Register</a>
      </div>
    </div>
  </div>
</div>
<!--modal-->
  <a href="#" class="back-to-top"><span></span></a> 

  <!-- JavaScripts -->
  <style>
	#myModallogin {
		padding-top:240px;
		outline: none;
	}
  </style>      
<script>
	$(function() {
		$("#myModallogin").modal({
			backdrop: 'static',
			keyboard: false
		});
	});
  </script>
          